docs: Stop using gdk_surface_get_decorations
authorMatthias Clasen <mclasen@redhat.com>
Tue, 3 Mar 2020 20:25:41 +0000 (12:25 -0800)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 12 Mar 2020 18:56:20 +0000 (14:56 -0400)
docs/tools/shooter.c

index 5074f3e8bcba5882f7699d469b0e91b2ad81786d..8f2fff6f16f21ad300bdbbea425dec1b40c27b22 100644 (file)
@@ -213,12 +213,7 @@ static guint shot_id;
 static gboolean
 window_is_csd (GdkSurface *window)
 {
-  gboolean set;
-  GdkWMDecoration decorations = 0;
-
-  /* FIXME: is this accurate? */
-  set = gdk_surface_get_decorations (window, &decorations);
-  return (set && (decorations == 0));
+  return TRUE;
 }
 
 static gboolean